package com.seventh.restaurant.repository;

import com.seventh.restaurant.domain.Customer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@SuppressWarnings("unused")
@Repository
public interface CustomerRepository extends JpaRepository<Customer,Long> {

    Customer findByPhoneNumber (String phoneNumber);
}
